package cn.zwx.activiti.example.model.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @description:
 * @projectName:activiti-example
 * @see:cn.zwx.activiti.example.model.resp
 * @author:zhangwenxue
 * @createTime:2021/5/29 21:30
 * @version:1.0
 */
@Data
@ApiModel("创建工作流返回参数")
public class UploadStreamAndDeploymentResp {

    @ApiModelProperty("流程定义id")
    private String id ;

    @ApiModelProperty("流程定义名称")
    private String name;

    @ApiModelProperty("流程定义Key")
    private String key;

    @ApiModelProperty("部署时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
